Connecting to an ADO Data Source

You can connect to a data source using a Connection window, or using a provider string. For information about connecting using an ADO provider string, refer to the SequeLink Developer's Reference.

Testing ADO Connections

The ADO provider opens a Connection window when you perform either of the following actions:

See "ADO Connection Dialogs" for more information about ADO connection dialogs that may appear.

ADO Connection Dialogs

When your data consumer requests the ADO provider to prompt for missing connection parameters and an ADO data source has not been specified, the DataDirect SequeLink for ADO Provider Connection dialog box appears.

ADO Provider connection dialog box. In the Data Source drop-down list, a data source has been selected.

Select the data source that you want to use from the drop-down list. If you do not want to specify a data source name, select None from the drop-down list. In some cases, the data source name may be supplied automatically. Then, click OK.

The other connection dialogs that may appear involve prompting for information required to make a SequeLink data access connection.

A SequeLink data access connection involves the following stages:

The SequeLink Client connects to the SequeLink Server, which connects to the database. The SequeLink Server does not communicate with the database until the Client has been authenticated.

  1. A network connection is established.
  2. An authentication mechanism is used to establish the identity of the SequeLink Client to the SequeLink Server.
  3. Based on information provided by the SequeLink Client application (for example, a database user name and password), a database connection is established.

Stage 1: Establishing a Network Connection

The first stage of the connection process involves establishing a network connection. The dialog that appears depends on whether the connection has been configured to connect directly to a SequeLink service or to retrieve connection information for the SequeLink service from a centralized LDAP directory.

Connecting Directly to a SequeLink® Service

If the connection has been configured to connect directly to a SequeLink service, the Connect to the SequeLink Server dialog box appears.

Provide the following information; then, click OK.

SequeLink Server Host: Type the TCP/IP host name of the SequeLink service.

SequeLink Server Port: Type the TCP/IP port on which the SequeLink service is listening. A default installation of SequeLink Server uses the port 19996.

Server Data Source: Type the name of a server data source to use for the connection or click the ... button to select an existing data source. This step is optional. If a server data source is not specified, the default server data source for that service will be used for the connection.

Retrieving Connection Information from an LDAP Directory

If the connection has been configured to connect to an LDAP server to retrieve connection information from an LDAP directory, the Connect to the SequeLink Server dialog box appears.

Connect to the SequeLink Server dialog box. The LDAP Server Host field contains the name of the TCP/IP host.

Provide the following information; then, click OK.

LDAP Server Host: Type the TCP/IP host name of the LDAP server.

LDAP Server Port: Type the TCP/IP port on which the LDAP server is listening.

Distinguished Name: Type the Distinguished Name (DN) of the LDAP entry.

See "Creating LDAP Entries for SequeLink® Services" for information on setting up an LDAP server for SequeLink.

Stage 2: SequeLink® Server Authentication

The second stage of the connection process involves authentication of the SequeLink Client to the SequeLink Server. The dialog boxes that appear depend on how authentication is configured for the SequeLink service.

See "Configuring SequeLink® Security" for more information about configuring authentication.

Stage 3: Data Store Logon

The last stage of the connection process involves logging on the data store. The dialogs that appear depend on the data store logon method configured for the SequeLink service:

See "Configuring SequeLink® Security" for more information about configuring data store logon methods.